﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Kkc.Model.Album>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Bildegalleri
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <object type="application/x-silverlight-2" data="data:application/x-silverlight-2," width="100%" height="600"> 
        <param name="background" value="white" /> 
        <param name="source" value="<%= Url.Content("~/clientbin/Vertigo.SlideShow.xap") %>" /> 
        <param name="initParams" value="ConfigurationProvider=LightTheme,DataProvider=XmlDataProvider;Path=<%= Url.Action("slideshowdata", "album") %>" /> 
    </object>    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftSideContent" runat="server">
    <ul>
        <li class="first"><%= Html.ActionLink("Liste over album", "Index") %></li>
        <% if (Page.User.IsInRole("Contributor")) { %>
        <li><%= Html.ActionLink("Opprett nytt album", "Create") %></li>
        <% } %>
    </ul>
</asp:Content>
